package com.micro.ai.template.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
@Schema(description = "创建分类请求")
public class CategoryCreateRequest {

    @NotBlank(message = "分类ID不能为空")
    @Schema(description = "分类ID", example = "custom_category", requiredMode = Schema.RequiredMode.REQUIRED)
    private String categoryId;

    @NotBlank(message = "分类名称不能为空")
    @Schema(description = "分类名称", example = "自定义分类", requiredMode = Schema.RequiredMode.REQUIRED)
    private String name;

    @Schema(description = "分类描述")
    private String description;

    @Schema(description = "父分类ID")
    private String parentCategoryId;

    @Schema(description = "图标", example = "folder")
    private String icon;

    @Schema(description = "排序值", example = "10")
    private Integer sortOrder;
}

